package ModelLayer;

public class Glass extends Product 
{
	private String height;
	private String width;
	private String thickness;
	
	//Constructor which catches the superclass
	public Glass()
	{
		super(0, 0, "", 0, 0, 0, "", "", "", "", 0, 0, 0);
	}
	
	//Constructor which builds the object
	public Glass(int productNumber, int serialNumber, String productName, double purchasePrice,	double salesPrice, double rentPrice, String countryOfOrigin, String fabricant, String description, String carModel, int modelYear, int minStock, int maxStock, String height, String width, String thickness)
	{
		super(productNumber, serialNumber, productName, purchasePrice, salesPrice, rentPrice, countryOfOrigin, fabricant, description, carModel, modelYear, minStock, maxStock);
	
		this.height = height;
		this.width = width;
		this.thickness = thickness;
	}

	//Returns the height
	public String getHeight() 
	{
		return height;
	}

	//Sets the height
	public void setHeight(String height)
	{
		this.height = height;
	}

	//Returns the Width
	public String getWidth() 
	{
		return width;
	}

	//Sets the Width
	public void setWidth(String width) 
	{
		this.width = width;
	}

	//Returns the thickness
	public String getThickness() 
	{
		return thickness;
	}

	//Sets the thickness
	public void setThickness(String thickness) 
	{
		this.thickness = thickness;
	}
	
	//Returns the product type
	public String getProductType()
	{
		return "Glass";
	}

	
}
